class MerchantBase:
    def common_button(self, button_name):
        return "//button[text()='" + button_name + "']"

    def label_input(self, label_name):
        return "//label[text()='" + label_name + "']/following-sibling::input"

    def active_button(self, button_name):
        return "//div[contains(@class,'active')]//button[text()='" + button_name + "']"

    def displayed_checkbox(self, lable_for):
        return "//label[@for='" + lable_for + "']"

    def hidden_checkbox(self, id):
        return "//input[@id='" + id + "']"

    def merchant_name(self, merchant_name, enterprise_name):
        return "//td[@data-label='Enterprise']/span[text()='" + enterprise_name + "']/parent::td//preceding-sibling::td[@data-label='Name']/span[text()='" + merchant_name + "']"
